Skip to content

[mobile] .NET 11 mobile runtime configuration updates#25672

Open
kotlarmilos wants to merge 4 commits into
net11.0from
dev/update-sdk-mobile
Open

[mobile] .NET 11 mobile runtime configuration updates#25672
kotlarmilos wants to merge 4 commits into
net11.0from
dev/update-sdk-mobile

Conversation

@kotlarmilos

@kotlarmilos kotlarmilos commented Jun 11, 2026

Copy link
Copy Markdown
Member

Description

Remove the Mono mobile test variations by setting supports_mono=false in tests/xharness/Jenkins/TestVariationsFactory.cs, and stop the Mono runtime pack download in builds/Makefile and builds/package-download/download-packages.csproj.

Validation pipelines (must pass): macios (devdiv pipeline 16533) PR build.

Validation pins (temporary): pinned to .NET 11 test build 11.0.100-preview.6.26310.106 (AzDO dotnet-unified-build run 2996804, BAR 318158, source dotnet/dotnet@8d5d82abe13, branch dev/update-sdk-mobile-stage2) and the public general-testing NuGet feed, so CI exercises the SDK with the Mono mobile workloads and RIDs removed.

TODO before merge: revert the global.json / Version.Details.xml / Versions.props pins and the NuGet.config feed back to the official VMR versions and the main feed.

kotlarmilos and others added 4 commits June 11, 2026 14:18
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove the .NET unit tests that build iOS, tvOS and MacCatalyst apps with
UseMonoRuntime=true. These resolve the Mono mobile runtime packs, which are no
longer produced. macOS Mono cases are kept.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@kotlarmilos

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@kotlarmilos kotlarmilos marked this pull request as ready for review June 12, 2026 09:46
@kotlarmilos kotlarmilos requested a review from rolfbjarne as a code owner June 12, 2026 09:46
Copilot AI review requested due to automatic review settings June 12, 2026 09:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the mobile/runtime configuration and CI surface area to align with removing Mono mobile workloads/RIDs in the .NET 11 toolchain, primarily by disabling Mono-based test variations and stopping Mono runtime-pack downloads in the build/package-download step.

Changes:

  • Disable Mono-based XHarness/Jenkins test variations by forcing supports_mono=false and gating interpreter/LLVM variations accordingly.
  • Remove Mono runtime usage from multiple .NET unit tests (Windows remote tests, build/package/linking tests, incremental build tests).
  • Stop downloading Mono runtime packs in builds/package-download and remove the corresponding Makefile property plumbing; add temporary SDK/feed pins for validation.
Show a summary per file
File Description
tests/xharness/Jenkins/TestVariationsFactory.cs Forces Mono test variations off and gates interpreter/LLVM test variants behind supports_mono.
tests/dotnet/UnitTests/WindowsTest.cs Removes Mono-specific remote Windows test cases (CoreCLR-only remaining).
tests/dotnet/UnitTests/ProjectTest.cs Removes Mono-targeted test cases and Mono-only linked-framework expectations.
tests/dotnet/UnitTests/PostBuildTest.cs Removes Mono variants for IPA/package publish tests.
tests/dotnet/UnitTests/IncrementalBuildTest.cs Removes Mono-only incremental build tests and interpreter toggling tests.
tests/dotnet/UnitTests/BundleStructureTest.cs Removes Mono build variants of bundle structure verification tests.
NuGet.config Adds the general-testing feed (noted in PR description as a temporary validation pin).
global.json Pins the repo SDK/tooling to a .NET 11 preview.6 build for validation.
eng/Version.Details.xml Updates dotnet/dotnet dependency versions and SHAs to the pinned preview.6 build.
builds/package-download/download-packages.csproj Removes Mono runtime pack download items (CoreCLR runtime packs only).
builds/Makefile Stops passing MonoVM runtime identifier property into package-download build.

Copilot's findings

  • Files reviewed: 11/11 changed files
  • Comments generated: 3

Comment thread eng/Version.Details.xml
Comment thread global.json
Comment thread NuGet.config
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 [PR Build #b0e9a9c] Build failed (Build packages) 🔥

Build failed for the job 'Build packages' (with job status 'Failed')

Pipeline on Agent
Hash: b0e9a9cc8b459ca30a6d9a90b782a6fe80160c13 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 [PR Build #b0e9a9c] Build failed (Detect API changes) 🔥

Build failed for the job 'Detect API changes' (with job status 'Failed')

Pipeline on Agent
Hash: b0e9a9cc8b459ca30a6d9a90b782a6fe80160c13 [PR build]

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 Unable to find the contents for the comment: D:\a\1\s\change-detection\results\gh-comment.md does not exist :fire

Pipeline on Agent
Hash: b0e9a9cc8b459ca30a6d9a90b782a6fe80160c13 [PR build]

@kotlarmilos kotlarmilos self-assigned this Jun 12, 2026
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🔥 Failed to compute test summaries on VSTS: test results 🔥

Failed to compute test summaries: Cannot bind argument to parameter 'InputObject' because it is null..

Pipeline on Agent
Merge b0e9a9c into bd942da

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants